using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Pages_Customer_PriceTable : System.Web.UI.Page
{
    void Page_PreInit(Object sender, EventArgs e)
    {
        if (User.IsInRole("Admin"))
        {
            this.MasterPageFile = "~/Admin.master";
        }
        else if (User.IsInRole("Employee"))
        {
            this.MasterPageFile = "~/Employee.master";
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ddlService.DataBind();
            Label1.Text = ddlService.SelectedItem.ToString();
        }
    }

    protected void ddlService_SelectedIndexChanged(object sender, EventArgs e)
    {
        Label1.Text = ddlService.SelectedItem.ToString();
    }
}
